package com.zp.common.constant;

/**
 * @author zhangpeng
 * @create 2020/11/9 14:17
 * 商品模块常量类
 */
public class ProductConstant {
    //属性类型[0-销售属性，1-基本属性]
    public enum AttrTypeEnum{
        ATTR_TYPE_BASE(1, "基本属性"), ATTR_TYPE_SALE(0, "销售属性");

        private Integer code;
        private String msg;

        AttrTypeEnum(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
